projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
445bf76
)
garmin_fs: Use macros for "flagged" waypoint fields.
author
oliskoli
<oliskoli>
Mon, 18 Jun 2007 19:59:56 +0000
(19:59 +0000)
committer
oliskoli
<oliskoli>
Mon, 18 Jun 2007 19:59:56 +0000
(19:59 +0000)
garmin_fs.c
patch
|
blob
|
history
diff --git
a/garmin_fs.c
b/garmin_fs.c
index 2a584b9d72c87cffeef15ffc38d36169307a7487..f20e0e9f451461da30f3a601097a6ae64cd1811f 100644
(file)
--- a/
garmin_fs.c
+++ b/
garmin_fs.c
@@
-102,9
+102,9
@@
garmin_fs_xml_fprint(gbfile *ofd, const waypoint *waypt)
if (gmsd == NULL) return;
if ((gmsd->flags.category && gmsd->category) ||
-
waypt->wpt_flags.depth
||
-
waypt->wpt_flags.proximity
||
-
waypt->wpt_flags.temperature
||
+
WAYPT_HAS(waypt, depth)
||
+
WAYPT_HAS(waypt, proximity)
||
+
WAYPT_HAS(waypt, temperature)
||
gmsd->flags.display)
{
int space = 1;